const timeNodes = Array.from(document.querySelectorAll('[data-time]'))
const seconds = timeNodes
.map(node => node.dataset.time)
.map(timeCode =>{
const [time, sec] = timeCode.split(':').map(parseFloat);
return (min * 60) + secs;
})
.reduce((total.vidSecond) => total + vidSeconds);
let secondsLeft = seconds;
const hours = Math.floor(secondsLeft / 3600);
secondsLeft = secondsLeft % 3600;
const mins = Math.floor(secondLeft / 60);
secondsLeft = secondsLeft % 60;
console.log( hours, mins, secondLeft);